package cn.fhkj.entity;

public class RenQiuZfPublicityContent extends BaseEntity {
    /**
     * id
     * 表字段 : renqiu_zf_publicity_content.id
     */
    private Long id;

    /**
     * 公示id
     * 表字段 : renqiu_zf_publicity_content.f_id
     */
    private Long fId;

    /**
     * 富文本内容
     * 表字段 : renqiu_zf_publicity_content.content
     */
    private String content;

    /**
     * 获取 id 字段:renqiu_zf_publicity_content.id
     *
     * @return renqiu_zf_publicity_content.id, id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 id 字段:renqiu_zf_publicity_content.id
     *
     * @param id the value for renqiu_zf_publicity_content.id, id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 公示id 字段:renqiu_zf_publicity_content.f_id
     *
     * @return renqiu_zf_publicity_content.f_id, 公示id
     */
    public Long getfId() {
        return fId;
    }

    /**
     * 设置 公示id 字段:renqiu_zf_publicity_content.f_id
     *
     * @param fId the value for renqiu_zf_publicity_content.f_id, 公示id
     */
    public void setfId(Long fId) {
        this.fId = fId;
    }

    /**
     * 获取 富文本内容 字段:renqiu_zf_publicity_content.content
     *
     * @return renqiu_zf_publicity_content.content, 富文本内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置 富文本内容 字段:renqiu_zf_publicity_content.content
     *
     * @param content the value for renqiu_zf_publicity_content.content, 富文本内容
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * ,renqiu_zf_publicity_content
     *
     * @param that
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        RenQiuZfPublicityContent other = (RenQiuZfPublicityContent) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getfId() == null ? other.getfId() == null : this.getfId().equals(other.getfId()))
            && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
    }

    /**
     * ,renqiu_zf_publicity_content
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getfId() == null) ? 0 : getfId().hashCode());
        result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
        return result;
    }
}